package com.ymatou.iapi.deviceid.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*更新DeviceId信息Call
*FreeMaker Template自动生成代码
*/
public class UpdateCall extends YmatouBaseCall{
	private static String opurl ="update";
	
	public UpdateCall() {
		super(EnvSetup.getSystemUrl("deviceid"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	public String getCode()
	{
	    return getString("code");
	}
	
	public String getBCode()
	{
	    return getString("bcode");
	}
	
	public String getMSG()
	{
	    return getString("msg");
	}
	
	public String getData()
	{
	    return getString("data");
	}
	
}